CSSStyle

data class CSSStyle(styleSheetId: StyleSheetId?, cssProperties: List<CSSProperty>, shorthandEntries: List<ShorthandEntry>, cssText: String?, range: SourceRange?)

CSS style representation.

Constructors

CSSStyle
Link copied to clipboard
fun CSSStyle(styleSheetId: StyleSheetId? = null, cssProperties: List<CSSProperty>, shorthandEntries: List<ShorthandEntry>, cssText: String? = null, range: SourceRange? = null)

Properties

cssProperties
Link copied to clipboard
val cssProperties: List<CSSProperty>
CSS properties in the style.
cssText
Link copied to clipboard
val cssText: String? = null
Style declaration text (if available).
range
Link copied to clipboard
val range: SourceRange? = null
Style declaration range in the enclosing stylesheet (if available).
shorthandEntries
Link copied to clipboard
val shorthandEntries: List<ShorthandEntry>
Computed values for all shorthands found in the style.
styleSheetId
Link copied to clipboard
val styleSheetId: StyleSheetId? = null
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.

Sources

jvm source
Link copied to clipboard